<template>
  <div class="about">
    <el-card class="box-card">
      <template #header>
        <div class="card-header">
          <span>关于我们</span>
        </div>
      </template>
      <el-timeline>
        <el-timeline-item
          v-for="(activity, index) in activities"
          :key="index"
          :timestamp="activity.timestamp"
        >
          {{ activity.content }}
        </el-timeline-item>
      </el-timeline>
    </el-card>
  </div>
</template>

<script setup lang="ts">
const activities = [
  {
    content: '项目创建',
    timestamp: '2024-01-01'
  },
  {
    content: '添加 Element Plus 组件库',
    timestamp: '2024-01-02'
  },
  {
    content: '配置自动路由',
    timestamp: '2024-01-03'
  }
]
</script>

<style scoped>
.about {
  padding: 20px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style> 